crontab-task:
  cron:
    - present
    - name: bash /opt/cron_check.sh
    - user: root
    - minute: "*/5"


check-config:
  file.managed:
    - name : /opt/cron_check.sh
    - source: salt://init/files/cron_check.sh
    - user: root
    - group: root
    - mode: 755
    - template: jinja
      NTPSERVER:  {{ pillar['internal_ntp'] }}

